package com.runa.monitor.platinterface.netservice.connect;

import com.runa.protocol.dto.IResponseData;
import io.netty.channel.Channel;

/**
 * @author zhuj
 */
public interface Session {

    void linked(Channel channel);

    void requesting() throws InterruptedException;

    void receiving(IResponseData data);

    void setOnlineStatus(boolean status);

    boolean isOnline();

    boolean close();

}
